<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Area extends Model
{
    protected $table = 'area';
    protected $guarded = ['id'];

    public function children()
    {
        return $this->hasMany(Area::class, 'par_id', 'id');
    }

}
